debian/patches: Refresh patches
authorBoyuan Yang <byang@debian.org>
Mon, 13 Apr 2020 22:13:39 +0000 (18:13 -0400)
committerBoyuan Yang <byang@debian.org>
Mon, 13 Apr 2020 22:19:02 +0000 (18:19 -0400)
debian/patches/0004-data-Explicitly-use-python3.patch
debian/patches/lib-name-match-soversion.patch
debian/patches/use-cmake-install-libdir.patch
debian/patches/use-system-libraries.patch

index 0ce0798cc588d2fc5abe1746814889c60bd77c7e..c5d991d9792d869e17a89c154f1cad2938a522d5 100644 (file)
@@ -1,32 +1,18 @@
 From: Boyuan Yang <byang@debian.org>
-Date: Fri, 30 Aug 2019 13:51:12 -0400
+Date: Mon, 13 Apr 2020 18:18:19 -0400
 Subject: data/: Explicitly use python3
 
 Before "python" is default to python3, this patch should be kept.
 
-Last-Update: 2019-08-30
+Last-Update: 2020-04-13
 ---
- data/CMakeLists.txt         | 4 ++--
  data/scripts/find_target.py | 2 +-
  data/scripts/merge.py       | 2 +-
  data/scripts/reverse.py     | 2 +-
  data/scripts/sort.py        | 2 +-
  data/scripts/sort_all.py    | 2 +-
6 files changed, 7 insertions(+), 7 deletions(-)
5 files changed, 5 insertions(+), 5 deletions(-)
 
-diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
-index 1516775..3989bad 100644
---- a/data/CMakeLists.txt
-+++ b/data/CMakeLists.txt
-@@ -1,6 +1,6 @@
- set(OPENCC_DICT_BIN opencc_dict)
--set(DICT_MERGE_BIN python ${CMAKE_CURRENT_SOURCE_DIR}/scripts/merge.py)
--set(DICT_REVERSE_BIN python ${CMAKE_CURRENT_SOURCE_DIR}/scripts/reverse.py)
-+set(DICT_MERGE_BIN python3 ${CMAKE_CURRENT_SOURCE_DIR}/scripts/merge.py)
-+set(DICT_REVERSE_BIN python3 ${CMAKE_CURRENT_SOURCE_DIR}/scripts/reverse.py)
- set(DICT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/dictionary)
- set(DICT_GENERATED_DIR ${CMAKE_CURRENT_BINARY_DIR})
 diff --git a/data/scripts/find_target.py b/data/scripts/find_target.py
 index 28ada27..ffb3704 100755
 --- a/data/scripts/find_target.py
index 98e9437b1b18e067bc2167c5df2055fcd1d7d186..cd3bed45974fd343ad58081eff30b0831051f48e 100644 (file)
@@ -8,7 +8,7 @@ Subject: make sure library name matches soname
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index 498a4f6..6e36db1 100644
+index 234dc85..3e6759a 100644
 --- a/src/CMakeLists.txt
 +++ b/src/CMakeLists.txt
 @@ -75,7 +75,7 @@ set_target_properties(
index 3dcdec08ca62d93c21e71182aeaea430351f2fc6..cf3a2cec877c237aa032b2f3ad006b8a858a28a3 100644 (file)
@@ -8,7 +8,7 @@ Subject: use-cmake-install-libdir
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 2a29415..abbac00 100644
+index 5c9ee72..12dd36c 100644
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
 @@ -68,7 +68,7 @@ set (DIR_PREFIX ${CMAKE_INSTALL_PREFIX})
index 0d31e5a19204bc6636d3fc4f53d8f7ff2ee12f86..7d2825ab8e741b600cf0414c68b5033bedd8ee43 100644 (file)
@@ -8,7 +8,7 @@ Subject: use-system-libraries
  1 file changed, 2 insertions(+), 3 deletions(-)
 
 diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index 6e36db1..299a062 100644
+index 3e6759a..6b04ad8 100644
 --- a/src/CMakeLists.txt
 +++ b/src/CMakeLists.txt
 @@ -1,8 +1,7 @@